import { isMap as r } from '../../nodes/identity.js';
import { YAMLMap as a } from '../../nodes/YAMLMap.js';
const i = {
  collection: 'map',
  default: !0,
  nodeClass: a,
  tag: 'tag:yaml.org,2002:map',
  resolve(o, t) {
    return r(o) || t('Expected a mapping for this tag'), o;
  },
  createNode: (o, t, e) => a.from(o, t, e),
};
export { i as map };
